<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>

<?php
include_once "function_sec_virus.php";

$in_array['Content'] = $_POST['domain'];
$in_array['ListType'] = $_POST['listtype'];

AppendXmlBlackList($in_array);

include "function_misc_log.php";
logger("Add", $in_array,"Black_White_List");

include "function_web_misc.php";
PrintSuccessPageAndJump('sec_virus_http_black_list.php');
//echo("<meta http-equiv='refresh'content=0;URL='sec_virus_http_bw_list.php'>");
?>
